from django.conf.urls.defaults import *


# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^userlogin/$','django.contrib.auth.views.login', ),
    (r'^userlogout/$','django.contrib.auth.views.logout', ),
    (r'^election/$','JCUelection.elections.views.index'),
    (r'^parsecsv/$','JCUelection.elections.views.parseCSV'),
    (r'^results/$', 'JCUelection.elections.views.allResults'),
    (r'^inputdata/$','JCUelection.elections.views.inputData'),
    (r'^activeusers/$','JCUelection.elections.views.activateUsers'),

    # Uncomment the next line to enable the admin:
    (r'^admin/(.*)', admin.site.root),    



   
)
